﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;


namespace DnPakExplorer.Controls {

	public class MyTabControl : TabControl {

		public MyTabControl() {
		}

		protected override CreateParams CreateParams {
			get {
				CreateParams cp = base.CreateParams;
				cp.Style |= (int)WindowStyle.WS_THICKFRAME;
				
				return cp;
			}
		}

		protected override void WndProc(ref Message m) {
			if (m.Msg == 0x1328 && !DesignMode)
				m.Result = (IntPtr)1;
			else
				base.WndProc(ref m);
		}
	}
}
